package com.youdianda.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.youdianda.dto.MemberManagementAddDTO;
import com.youdianda.dto.MemberManagementPageDTO;
import com.youdianda.dto.MemberManagementUpDTO;
import com.youdianda.entity.SysUser;
import com.youdianda.result.Result;
import com.youdianda.vo.MemberManagementpageVo;
import com.youdianda.vo.MemberManagementqueVo;

/**
 * <p>
 * 用户表 服务类
 * </p>
 *
 * @author mosen
 * @since 2023-05-15
 */
public interface ISysUserService extends IService<SysUser> {
    /**
     * 用户详情
     * @param
     * @param
     * @return
     */
    Result<MemberManagementqueVo> getMerById(String id);

    /*
     * 分页查询
     * */

    Result<MemberManagementpageVo> page(MemberManagementPageDTO dto);

    /*
     * 新增
     * */
    void add(MemberManagementAddDTO memberManagementAddDTO);

    /*
     * 删除
     * */
    Result del(String id);

    /*
     * 修改*/
    Result updata(MemberManagementUpDTO memberManagementUpDTO);
}
